#include "FrogslayerCredit.h"


/****Frogslayer Credit Card Company****/ 

int main() 
	try {
	// Initialize the database
	DBContext* fsDB = new DBContext( "Frogslayer Database" );
	InitializeDatabase( *fsDB );
	
	vector<string> AllowedVendors;	// Keeps track of allowed vendors
	vector<string> CardOwners;	// Keeps track of all the card owners

	// Run the application
	Run_App( *fsDB, AllowedVendors, CardOwners );
	
	while ( Continue() )	// Check if the user wants to continue
		{
		Run_App( *fsDB, AllowedVendors, CardOwners );
		}	


	return 0;
	} 
	
catch (string error)
	{
	cout << "Error: " << error << endl;
	}

